﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BeatingMole
{
    /// <summary>
    /// Nguyễn Đặng Anh Duy
    /// MSSV : 11100204
    /// Email : itc.anhduy@gmail.com
    /// <summary>
    class CInfoMouseMove
    {
        #region "Variable"
        ContentManager _Content;
        private Texture2D _spriteBatch;
        private Dictionary<string, Rectangle> _xmlSpriteBatch;
        private Rectangle _recMouse;
        private Vector2 _vecMouse;
        private bool _isStart;
        private int _indexPosImages;
        private int _PosImages;
        private string _nameImages;
        private float _delay;
        #endregion

        #region "Properties"
        public float Delay
        {
            set { _delay = value; }
            get { return _delay; }
        }
        public string NameImages
        {
            set { _nameImages = value; }
            get { return _nameImages; }
        }
        public int IndexPosImages
        {
            set { _indexPosImages = value; }
            get { return _indexPosImages; }
        }
        public int PosImages
        {
            set { _PosImages = value; }
            get { return _PosImages; }
        }
        public bool IsStart
        {
            set { _isStart = value; }
            get { return _isStart; }
        }
        public Vector2 VecMouse
        {
            set { _vecMouse = value; }
            get { return _vecMouse; }
        }
        public Dictionary<string, Rectangle> XmlSpriteBatch
        {
            set { _xmlSpriteBatch = value; }
            get { return _xmlSpriteBatch; }
        }
        public Texture2D SpriteBatch
        {
            set { _spriteBatch = value; }
            get { return _spriteBatch; }
        }
        public Rectangle RecMouse
        {
            set { _recMouse = value; }
            get { return _recMouse; }
        }
        #endregion

        #region "Constructor"
        public CInfoMouseMove(ContentManager content)
        {
            _Content = content;
            NameImages = "0_";
            PosImages = 10;
            SpriteBatch = _Content.Load<Texture2D>(@"Resource/MouseMove/Attack");
            XmlSpriteBatch = _Content.Load<Dictionary<string, Rectangle>>("Resource/Xml/Attack");
        }
        #endregion

        #region "Method"

        #endregion
    }
}
